package com.office.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.office.common.annotation.Excel;
import com.office.common.core.domain.BaseEntity;

/**
 * 领用管理对象 sys_usage
 * 
 * @author xyq
 * @date 2024-07-05
 */
public class SysUsage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领用编号 */
    private Long usageId;

    /** 用品名称 */
    @Excel(name = "用品名称")
    private String usageName;

    /** 领用人 */
    @Excel(name = "领用人")
    private String usagePeople;

    /** 领用量 */
    @Excel(name = "领用量")
    private Long usageQuantity;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date usageDate;

    /** 部门 */
    @Excel(name = "部门")
    private String usageDepartment;

    /** 规格 */
    @Excel(name = "规格")
    private String usageSpecification;

    /** 电话 */
    @Excel(name = "电话")
    private String usagePhone;

    /** 领用状态 */
    @Excel(name = "领用状态")
    private Long usageState;

    public void setUsageId(Long usageId) 
    {
        this.usageId = usageId;
    }

    public Long getUsageId() 
    {
        return usageId;
    }
    public void setUsageName(String usageName) 
    {
        this.usageName = usageName;
    }

    public String getUsageName() 
    {
        return usageName;
    }
    public void setUsagePeople(String usagePeople) 
    {
        this.usagePeople = usagePeople;
    }

    public String getUsagePeople() 
    {
        return usagePeople;
    }
    public void setUsageQuantity(Long usageQuantity) 
    {
        this.usageQuantity = usageQuantity;
    }

    public Long getUsageQuantity() 
    {
        return usageQuantity;
    }
    public void setUsageDate(Date usageDate) 
    {
        this.usageDate = usageDate;
    }

    public Date getUsageDate() 
    {
        return usageDate;
    }
    public void setUsageDepartment(String usageDepartment) 
    {
        this.usageDepartment = usageDepartment;
    }

    public String getUsageDepartment() 
    {
        return usageDepartment;
    }
    public void setUsageSpecification(String usageSpecification) 
    {
        this.usageSpecification = usageSpecification;
    }

    public String getUsageSpecification() 
    {
        return usageSpecification;
    }
    public void setUsagePhone(String usagePhone) 
    {
        this.usagePhone = usagePhone;
    }

    public String getUsagePhone() 
    {
        return usagePhone;
    }
    public void setUsageState(Long usageState) 
    {
        this.usageState = usageState;
    }

    public Long getUsageState() 
    {
        return usageState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("usageId", getUsageId())
            .append("usageName", getUsageName())
            .append("usagePeople", getUsagePeople())
            .append("usageQuantity", getUsageQuantity())
            .append("usageDate", getUsageDate())
            .append("usageDepartment", getUsageDepartment())
            .append("usageSpecification", getUsageSpecification())
            .append("usagePhone", getUsagePhone())
            .append("usageState", getUsageState())
            .toString();
    }
}
